Content Pre-fetching and CDN Assist Methods in a Wireless Mobile Network

ABSTRACT

The current invention is applicable to a RAN-cache or proxy operating in a wireless mobile network that is functioning as a transparent inline device intercepting wireless mobile protocols such as UMTS, LTE, WIMAX, CDMA etc.), or a traffic off-load device connected to multiple interfaces towards the Core/Internet. The current invention identifies methods for pre-fetching content by emulating portions of a mobile client for gaining connectivity through the mobile-core network, or to use session contexts of other mobile clients in a way not to significantly effect charging and billing for the preloaded content. The pre-load decision of what to pre-load and when to pre-load may be locally derived within the RAN-cache/Proxy device, or in-coordination with a locally connected CDN (Content Delivery Network) device. Other embodiments of the current invention include the RAN-cache/Proxy providing interconnectivity from the locally connected CDN device to other CDN devices through the Mobile Core Network (SGSN/GGSN in UMTS, S-GW/P-GW in LTE etc.).

This application claims priority to U.S. Provisional Patent Application Ser. No. 61/365,401, filed Jul. 19, 2010, the disclosure of which is incorporated herein by reference in its entirety.

BACKGROUND OF THE INVENTION

Content caching devices or web-caches that cache frequently viewed web pages, pictures and multi-media content are deployed in the internet for reducing transport latencies, and reducing download times for frequently accessed content across the internet. Similarly, web-proxies/caches are also deployed at enterprise sites to cache frequently used Internet web-content within the enterprise network.

Caching devices 10 can also be used in mobile wireless network, for example, a 3G/UMTS network 20. The wireless network includes a Radio Access Network (RAN) 21 and a Core Network (CN) 22. A typical wireless network is shown in FIG. 1.

The GGSN 3 (Gateway GPRS Service Node) connects the mobile wireless network to the IP Core Network. The Gateway GPRS Support Node (GGSN) 3 is a main component of the GPRS (General Packet Radio Service) network. The GGSN 3 is responsible for compatibility between the GPRS network and external packet switched networks, such as the Internet 1 and X.25 networks.

When viewed from an external network, the GGSN 3 appears as a router to a sub-network, because the GGSN 3 hides the GPRS infrastructure from the external network. When the GGSN 3 receives data addressed to a specific user, it checks if the user is active. If it is, the GGSN 3 forwards the data to the SGSN 4 serving the mobile user. However if the mobile user is inactive, the data are discarded, or a paging procedure is initiated to locate and notify the mobile device. For data originated within the GPRS network, the GGSN 3 routes these mobile-originated packets to the correct external network.

The GGSN 3 converts the GPRS packets coming from the SGSN 4 into the appropriate packet data protocol (PDP) format (e.g., IP or X.25) and sends them out on the corresponding packet data network. For incoming packets, the PDP addresses are converted to the GSM address of the destination user. The readdressed packets are then sent to the responsible SGSN 4. In order to accomplish this function, the GGSN 3 stores the current SGSN address of the user and its associated profile in its location register. The GGSN 3 is responsible for IP address assignment and is the default router for the connected user equipment (UE) 7. The GGSN 3 also performs authentication functions.

A Serving GPRS Support Node (SGSN) 4 is responsible for the delivery of data packets from and to the mobile stations within its geographical service area. Its tasks include packet routing and transfer, mobility management (attach/detach and location management), logical link management, and authentication and charging functions. The location register of the SGSN 4 stores location information and user profiles of all GPRS users registered with this SGSN 4.

The Radio Network Controller (or RNC) 5 is a governing element in the radio access network and is responsible for controlling the Node Bs 6 that are connected to it. The RNC 5 carries out radio resource management, some of the mobility management functions and is the point where encryption is done before user data is sent to and from the mobile. The RNC 5 connects to the SGSN (Serving GPRS Support Node) 4 in the Packet Switched Core Network.

Node B 6 is a term used to denote the base transceiver station (BTS) in the UMTS/3GPP Architecture. As in all cellular systems, such as GSM, Node B (or BTS) 6 contains radio frequency transmitter(s) and the receiver(s) used to communicate directly with the user equipment, which move freely around it.

The user equipment (UE) 7 comprises all user equipment, including handsets, smart phones and computing equipment.

Radio Access Networks (RANs), such as in GSM/GPRS, 3G/UMTS/HSDPA/HSUPA, LTE, CDMA network etc., have their own private networks (PLMN) and interconnect to the Internet/IP networks through gateway devices (GGSN in GSM/GPRS, 3G/UMTS/HSDPA/HSUPA, and PDSN in CDMA). Content caches 10 are typically deployed outside of the RAN as shown in FIG. 1. However, content caches 10 are not deployed in the RAN between the Wireless Base Station 6 and GGSN 3 or PDSN (in a CDMA Network).

One reason for this is, while the user application payloads are TCP/IP, those payloads are embedded within Radio Access Network Protocols that are specific to the specific RAN. Thus, within the RAN, application payloads are not directly visible for performing content-aware caching and other optimizations. The RAN network 20 is deployed as a transport network that transports user IP traffic (Bearer IP traffic) using either ATM or IP transports. Regardless of the type of transport, the RAN network transports the user payloads in per user/per service tunnels. Such tunnels are terminated within the PDSN or GGSN 3, which forwards the bearer IP traffic to the public IP network using IP forwarding rules. Thus in the prior art deployments, the RAN network is content un-aware.

Content caching devices cache content when a client device accesses an object (such as a web page or a URL object), for subsequent delivery if the same content is requested by the same or a different user. Thus, cache updates are triggered by client accesses. Web crawlers and other mechanisms proactively fetch content to increase cache hit ratios and other features, such as content searching functions, etc. Content Delivery Network devices proactively retrieve content from specific content servers through the internet before such content is requested by any user. Such pre-fetching reduces the latency while delivering content when requested by one or more users, and assists in delivering dynamic content for Edge Side Includes (ESI) by CDNs. Also, content servers (origin servers) redirect user requests to appropriate CDN devices through interaction with the CDN Network using DNS. While such mechanisms exist in the internet and wire-line networks, in wireless mobile networks, connections to internet data-plane sessions are established only when a user accesses the packet network (internet or private network).

Co-pending Patent Publication No. 2010/0034089, entitled “Content Caching in the Radio Access Network”, filed Aug. 6, 2009, the contents of which are incorporated by reference, proposes deploying Content Aware Ran Caches in the Radio Access Network at one or more locations. A RAN-cache may be placed in a Radio Access Network, such as UMTS or LTE, where it is used to cache frequently accessed content by one or more users in local storage and serves the cached content to plurality of users per HTTP Protocols. The RAN-cache device operates as a transparent inline cache, in the sense that it intercepts the Control Plane and User Plane Protocols on the interfaces to which it is connected. It then reconstructs the objects and their corresponding references.

It would be advantageous if content could be pre-fetched before any user requests the content. It would be beneficial if this pre-fetched data could be stored in a RAN cache, for subsequent use by attached mobile users.

SUMMARY OF THE INVENTION

The current invention defines methods by which a RAN-Cache can pre-fetch locally determined content, and provides methods for a CDN device to pre-fetch content via a RAN-Cache device that interacts with UTMS/LTE network elements, such as a SGSN, a GGSN, a SGW, or a PDN GW. The RAN-Cache emulates a virtual user for pre-fetching content using a local control logic function, and/or due to external request by a locally connected CDN device. Such Pre-fetching requires the virtual user to be provisioned by the operator for network access and charging. Unlike the normal operation of the RAN-cache in which it does not initiate user sessions, in UE emulation mode using a Virtual User, it initiates and terminates user sessions for the virtual user. Per the current invention, the RAN-Cache provides a mechanism for the mobile network operator to configure the attributes of the mobile user that include IMSI (International Mobile Subscriber Identity), ISDN Number etc. for the Virtual user. The RAN-C then uses the attributes of the virtual user while initiating sessions for that virtual user. The mobile operator provisions the attributes of the virtual user, the corresponding service plan etc. in the service plane (for example HSS, RADIUS server etc.), so that when the session is initiated by RAN-cache for the virtual user, the operator's mobile core network accepts the session establishment. In this mode, it registers the virtual user with the mobile network.

Alternatively, the RAN-Cache may schedule pre-fetch requests by using the identity of one of the active user sessions. While selecting user sessions, it uses the sessions of those users that are being serviced from local cache. The rationale is that the operator's billing and charging system uses down-stream and upstream byte counts as monitored by Core Network (SGSN, GGSN, S-GW, PDN-GW). When the RAN-cache services user requests from local cache, this content is not fetched through the CN for that specific user session since the content served from local cache is transparent to the Core Network. Thus, the user is effectively given content “free of charging and billing”, due to the caching of the content. However, the RAN Cache may then utilize this user session context for pre-fetching content, since this minimizes charging and billing impacts to mobile users in the operator network.

Another aspect of the current invention allows the RAN-Cache to provide network connectivity from a locally connected CDN device to the rest of the CDN Network through the operator's mobile network and internet. Such interconnectivity may be provided by emulating a UE (Virtual User) through the Operator's Core Network through a SGSN/GGSN, or a S-GW/PDN-GW, or through a local offload interface.

Another aspect of the current invention is to pre-fetch the content from a local IP offload-interface, if such an interface is available. Such an IP offload connects to a local Internet Service Provider's network, or to the operator's IP network. In other words, it does not go through the mobile core network (SGSN/GGSN) and billing charging system. Also, the IP-Offload network does not use RAN tunneling protocols, such as GTP-U, for forwarding packets through SGSN/GGSN. While pre-fetching through an IP offload network, the RAN-Cache uses NAT (Network Address Translation) to map pre-fetch requests corresponding to a user to a configured public IP Address and configured pool of TCP port numbers. Hiding private IP addresses through NAT for both TCP and UDP are well known methods in the prior art. The present invention may use NAT for pre-fetching content on behalf of user to circumvent the need for requiring a user plane tunnel for performing pre-fetch operation through the operator core network.

Yet another alternative for performing a pre-fetch, the RAN Cache may use locally configured public IP addresses, and pre-fetch without the context of any user through the IP offload network. This scenario is particularly applicable to on-deck content, which is content that an operator provides from his content network. The present invention describes a method where the RAN Cache implementing these methods receives requests from RAN interfaces, and the user IP requests are embedded within the corresponding protocols of that interface. Thus, the RAN Cache device un-wraps the protocol layers, identifies what objects need to be pre-fetched and when the pre-fetching should occur. In addition, while responding to user requests from local cache or pre-fetched content through another interface, such as a locally connected CDN and/or an offload interface, these responses have to be re-encapsulated and merged with the responses and protocol exchanges that user device is performing through the mobile Core Network (such as traffic going through SGSN/GGSN). Such a need does not arise in application and performance enhancing proxies known in the prior art.

BRIEF DESCRIPTIONS OF FIGURES

FIG. 1 illustrates a wireless network;

FIG. 2 shows a representative configuration according to one embodiment;

FIG. 3 shows a content pre-fetch for a CDN using a RAN cache according to one embodiment;

FIG. 4 shows a content pre-fetch for a CDN using a RAN cache according to another embodiment;

FIG. 5 shows a datapath for CDN content using the IP Traffic Offload interface;

FIG. 6 is a representative block diagram of a RAN cache;

FIG. 7 shows a representation configuration using traffic offload according to one embodiment.

DETAILED DESCRIPTION OF THE INVENTION

FIG. 6 shows a representative block diagram of the RANC. The RANC 300 has two interface modules 301, each of which is adapted to implement the hardware signaling required for the choice interface and the associated software protocol. This interface protocol may be IuB, IuPS or Gn, as shown in FIGS. 3-5. Each interface module 301 is adapted to receive and transmit on the selected interface. Additionally, received data is placed into a storage element 302, typically a semiconductor storage element such as a RAM, DRAM or an equivalent technology. The movement of data from the interface module to the memory 302 and vice versa may be accomplished using dedicated hardware, such as a DMA controller. Alternatively, a dedicated data movement processor may be used to handle the actual movement of data through the RANC 8. Once stored within the RANC 8, the information is processed in accordance with the RAN specifications. This may be done using dedicated control logic or a processing unit 303. The control logic/processing unit 303 may have its own local storage element 304, which contains instructions to execute and local status. This storage element may be RAM or DRAM. In addition, at least a portion of this storage element 304 may be non-volatile, such as ROM, FLASH ROM, hard disk, Solid State Disk, or the like. Using known specifications and protocols, the control logic/processing unit 303 parses the received information to understand the packet at each protocol layer. Also included may be a large storage element 305, adapted to hold cached information. In some embodiments, this cache storage may be semiconductor memory, such as RAM or DRAM. In other embodiments, this cache storage may be a rotating media, such as a disk drive or other large storage device. The control logic/processing unit may be physically implemented in a variety of technologies. For example, it may be a general-purpose processor, executing a set of instructions from an internal or external storage device.

In another embodiment, a dedicated hardware device having embedded instructions or state machines may be used to perform the functions described. Throughout this disclosure, the terms “control logic” and “processing unit” are used interchangeably to designate an entity adapted to perform the set of functions described.

The RANC 8 also contains software capable of performing the functions described herein. The software may be written in any suitable programming language and the choice is not limited by this disclosure. Additionally, all applications and software described herein are computer executable instructions that are contained on a computer-readable media. For example, the software and applications may be stored in a read only memory, a rewritable memory, or within an embedded processing unit. The particular computer on which this software executes is application dependent and not limited by the present invention.

While the Figures show the RAN-C as a separate device, it may also become part of an existing component. For example, it may be embedded in an existing component, such as the RNC or SGSN and provide the functionality described above.

FIG. 2 shows a first configuration of the present invention. In this embodiment, the RAN-Cache 300 is a content aware inline device that monitors user sessions, populates data cache, caches local content, and serves the cached content on subsequent user sessions per the corresponding protocol rules such as HTTP 1.0/1.1 (RFC 2616) rules, as described in Co-pending Patent Publication No. 2010/0034089.

Although shown in FIG. 2 as positioned between the RAN 21 and the core network (CN) 22, the RAN cache 300 may also be positioned within the RAN 21, such as between the NodeB and the RNC, between the RNC and the SGSN or between the SGSN and the GGSN. Similarly, in a LTE network, the RAN cache may be between the eNodeB and the MME/Serving GW.

In this embodiment, the control logic 303 consists of a variety of functions. The pre-fetch 350, 351 and UE Emulation/transit UE session modules 352 are logical software components that incorporate one or more of the inventive methods identified in the present application. In this example, one function of the RAN cache is to determine what content to prefetch, as well as other parameters, such as the format of the objects, the time that the pre-fetch should occur, as well as other parameters. In some embodiments, the pre-fetch decision logic 350 makes decisions based on local configuration policy, frequency of a site's access, peak traffic/busy hour from previous history, the relationship with content publishers, types of objects and other parameters. Additional or different parameters may also be used to decide the content that should be pre-fetched.

The UE emulation or transit UE session module 352 is used to establish a connection with the mobile network. There are two ways that the RAN Cache 300 can create this connection. In a first mode, it emulates a user by creating a virtual user. In a second mode, the RAN cache uses the user session context of another actual UE. These modes are described in more detail below.

To emulate a UE (also termed Virtual UE throughout this specification), the RAN-Cache 300, using the UE emulation module 352, emulates a signaling client in the control plane and initiates and terminates the signaling connection for the virtual UE. The service plane information for the virtual UE such as but not limited to rate plan, IMSI, ISDN Number, need to be configured in the RAN Cache 300, and in the operator network. This is so that when the virtual user (i.e. the RAN Cache 300) initiates a user plane session, the session setup is accepted by the operator's Core Network 21. Once established, the user plane session created for the Virtual UE could be used for pre-fetching any content. The user plane session traverses through the CN and the charging and billing will be done for the operator provisioned virtual UE.

In a second mode, known as transit UE mode, the RAN Cache 300 adopts the identity and session context of an existing UE 7 that is being served from local cache. This approach causes the RAN Cache 300 to send a data request in the context of user sessions for data objects which the users did not specifically request, which may increases their total charges if their data plan is based on the amount of content delivered. However, the rationale for doing this is that when a UE 7 is served from RAN-Cache 300, the bytes sent over RAN 21 to the UE 7 from RAN-Cache 300 are not counted by the Operator's Core Network 22 (and Charging and Billing System). Therefore, the pre-fetched bytes are simply a replacement for the actual content that was served, but not counted by the CN 22. In this way, it is believed that the user's actual requested byte count will closely match the byte count for which he was charged. In other billing systems, total byte count is unlimited, and therefore there is no charge or inconvenience to the user because the RAN cache 300 uses this user session.

When using other UE's session context, the RAN-Cache 300 maintains a list in its storage element of UEs 7 that are currently being served from the RAN-cache 300, and the downloaded byte counts delivered from RAN-cache 300 for each UE 7. This number represents the number of bytes which were delivered to each UE 7 without the knowledge of the Operator's Core Network 22 (and Charging and Billing System). In one embodiment, the RAN cache 300 selects active UE sessions that have the highest bytes delivered from cache. In some embodiments, the RAN cache 300 then decrements this byte count by the number of bytes delivered during the pre-fetch operation. In some embodiments, the goal is to maintain each of these counters as close to zero as possible, such that unrequested pre-fetches roughly equal delivered cache content, thereby resulting an a relatively accurate byte count for each UE 7.

In another embodiment, the RAN Cache 300 accesses the UE service plan, and determines whether any of the UEs 7 have an unlimited data plan. This can be achieved through interaction with the service plane. This information comes via the HLR, through RADIUS, through PCRF or through Subscription Profile Repository (SPR). These methods are known to those skilled in the art. In this case, the RAN cache 300 can use the user session of these UEs without incurring any additional costs for those users.

In this transit UE mode, the RAN Cache 300 uses UE's sessions that have active PDP contexts. It does not initiate user plane sessions for pre-fetching content. Therefore, it may be necessary for the RAN Cache 300 to extend user sessions. For example, while the RAN Cache 300 is using a UE's session context through the core network (CN) 22 for pre-fetch, the actual UE 7 may finish its own ongoing transfers, such as the download of an object from RAN cache 300 may be completed. After the UE 7 receives its requested data, the UE 7 may initiate releasing the data session. In this case, since the RAN Cache 300 is still using that user session, the RAN Cache 300 defers releasing the signaling connection through control plane, until its pre-fetch operation is completed. While selecting a user session for such pre-fetch purposes, the RAN Cache 300 may use additional considerations, such as whether the device is connected to power source, the remaining battery power in the UE, the device type of the UE or other characteristics. Remaining battery power is important, since in one embodiment, the UE must remain in the active state in order to complete the pre-fetch operations. In another embodiment, the UE power consumption is not increased while using that UE session context for pre-fetching. This is achieved by allowing the UE to initiate a session termination and having the RAB release the connection to the UE. However, the RAN Cache 300 defers the session termination and RAB release on the core side until the prefetch operation is complete. Information, such as remaining battery power, device type and other characteristics, is obtained from the device using the methods identified in companion provisional application 61/364,560, which is incorporated by reference in its entirety. For example, the RAN Cache 300 may interpret control plane protocols to determine the type of device or other parameters.

Furthermore, in this transit UE mode, the UE 7 may have active traffic flows through the same user-plane session (for example, another UE's GTP-U session when the RAN-Cache is placed on IuPS interface). Thus, when responses are received from CN 22 interface, the RAN Cache 300 must identify the responses that should be forwarded to the UE 7 over the RAN 21, and the responses that should be forwarded to the local CDN or to be consumed locally for locally initiated pre-fetch requests.

The methods for using an existing UE 7 user session described above detail embodiments in which the UE session is active, and the RAN Cache 300 uses that user session simultaneously. As an alternative to this approach, the RAN Cache 300 may locally store the attributes of the UE's that have large contents delivered from local data cache. Then, at a later time, the RAN Cache 300 may initiate a user plane session setup by using the locally stored UE information. This method has the advantage that the RAN cache 300 could perform pre-fetch when the network usage is low (for example non busy hours), and when the specific UE 7 is not using the Operator's Core Network 22 resources. Thus pre-fetch use does not degrade the corresponding UE's QOE. As described above, UEs can be selected based on number of previously served bytes from the RAN Cache 300, or based on the UE data plan, such that user sessions are setup for UEs 7 having unlimited data plans. Additionally, the selection may be based the remaining battery power, whether it is connected to a power source, and type of UE (for example, laptop dongle, feature phone or other device.

FIG. 7 shows an embodiment where a Traffic Offload interface is available to the RAN cache 300. In this embodiment, the RAN cache 300 determines what content to pre-fetch, and when to perform these pre-fetches, as described with reference to FIG. 2. In this configuration, a traffic offload interface 380 is available to the RAN Cache 300. The RAN cache 300 acts as a UE, using either virtual UE mode or transit UE mode. However, rather than routing the request through the core network 22, the request is routed through the traffic offload interface.

There are various algorithms that can be used to determine what content to pre-fetch. In one embodiment, the RAN Cache makes decisions by parsing the top-page requested by a user device from a website, such as www.yahoo.com. When this page is requested by a user device, the server returns the page as a html/xml object. Typically, this object contains embedded links that point to other objects at the same site or other sites. For example, links to other yahoo pages or advertisement objects that may point to other sites may be contained in the returned object. When the client starts receiving the response bytes, it may start issuing additional requests for content contained in the html page. The RAN-C, while delivering the response bytes, parses the html response object and determines which of the embedded links should be prefetched. This determination could be based on specific target sites, such as ad-delivery sites, or type of embedded link (PHP), or prior history based on how long a similar type of request previously took.

In addition to determining what content to pre-fetch, the RAN Cache 300 may determine the path through which the content should be routed. For example, a pre-fetch request may be routed through the Mobile core-network or, an offload interface, or a locally connected CDN.

Locally connected CDN device vendors have relationships with certain content publishers only, and are interested in serving only their content. These relationships are configured in RAN-Cache, indicating to the RAN Cache that such requests should be forwarded to the local CDN device. As an alternative to this static configuration, the RAN-Cache device may use a private-protocol to exchange such information. The methods used for these exchanges with the CDN device are outside the scope of the present invention.

As another example, certain web-sites may have local content/scope. The Ran Cache may have this information based on local configuration and/or the operator relationship with the corresponding content publishers. Thus, by forwarding such requests to the local offload interface, the operator network or ISP (internet service provider) would be able to serve more relevant content for the specific location.

As a further example, the operator may have specific content optimization devices, for example, HD Video content for NetFlix on the local offload network.

FIGS. 2 and 7 describe embodiments where the decision of what content to pre-fetch, and the storage of the pre-fetched data are all performed within the RAN cache 300. However, there are other embodiments, as described below.

FIG. 3 shows an external CDN device 370 that is connected to the RAN Cache 300. The RAN Cache 300 and the local CDN device 370 exchange pre-fetch information, and the RAN cache 300 performs pre-fetch by one of the pre-fetch mechanisms (either virtual UE or transit UE). The actual pre-fetch operation parameters (such as time of pre-fetch, which transit user session should be used for pre-fetch, etc.) may be determined by the RAN Cache 300 or by both RAN cache 300 and the local CDN device 370. Once these parameters are determined, the RAN Cache 300 pre-fetches the data using either of the modes described above. When the pre-fetched content is delivered to the RAN Cache 300, it is routed to the CDN device 370. In this scenario, RAN-Cache is providing a data-path using the Virtual-UE or transit-UE to do the pre-fetch operation, and the actual storage of pre-fetched objects and subsequent delivery to one more user requests are performed by the locally connected CDN. Dotted line 371 shows the pre-fetch datapath in this embodiment.

FIG. 4 shows the RAN cache 300 providing datapath connectivity for the local CDN device 370 to other CDN devices 375, 376 through the Wireless operator's Core Network 22 (SGSN, GGSN, S-GW, PDN-GW etc.) using the virtual UE component in the RAN cache 300. This example may also be performed using transit UE mode. In this example, the RAN cache 300 is deployed in operator's RAN network, and internet connectivity through a local offload interface is not available. A local connected CDN 370 needs to connect to other CDNs 375, 376. Any data accesses through Operator's Core Network 22 require the establishment of a UE session. Thus, the RAN Cache 300 emulates a virtual UE to establish a data session. Dotted line 372 shows the datapath between the CDN device 370 and the remote CDN device 376.

This operation may be performed as follows. The local CDN uses a Public-IP address to communicate with other co-operative CDNs (for example, other CDNs that belong to the same CDN vendor). In this way, the CDN devices discover and communicate among themselves using public IP addresses. However, the operator mobile network may use private IP addresses, and use the network address translation (NAT) function when the traffic sent/received through the internet. Thus, any traffic to/from local CDN that needs to be transported through the operator's mobile needs to be carried using private-ip addresses assigned by operator, whereas CDN devices use public-IP addresses. To facilitate CDN to CDN communication through the mobile-operator's network, the RAN-Cache emulates a transit UE with a operator configured static IP address, and uses well known NAT methods to carry the traffic through the operator network. The device performing the NAT function between GGSN and Internet is configured to remap the NAT addresses delivered by RAN-C to the public IP address that the local CDN is configured to use.

As an alternative to using NAT function in the RAN-C as described above, the RAN-C may use IP-in-IP by adding a locally operator-configured private IP address as an IP envelope to carry the CDN's public IP address. The device, for example, a router, in the operator mobile core network that routes the mobile traffic to the internet may be configured to remove the IP in IP encapsulation for the specific IP address and forward it using the local CDN's public IP address. Similarly, it may be configured to forward any traffic designated to local-CDN IP address by first encapsulating using IP in IP.

FIG. 5 shows a configuration similar to FIG. 4, however a traffic offload interface 380 is available for offloading portions of traffic through the offload interface 380 rather than going through the operator's core network 22. The RAN Cache 300 uses the offload interface 380 to service the pre-fetch requests from the local CDN device 370 and also to provide CDN connectivity.

This scenario is similar to the previous example, shown in FIG. 4, with the major difference being that it uses the offload interface to provide data path between CDN devices, rather than the mobile core network (CN). Since the traffic from the local CDN is not passing through the core network, the RAN-C does not need to perform IP-to-IP encapsulation and de-encapsulation functions, which is required when such traffic traverses the core network. It is important to note that RAN-C exchanges two types of traffic from the local CDN. The first is traffic that CDN intends to send to UEs through the RAN. The second type is traffic that the CDN communicates with other CDNs through the public internet. The RAN-Cache identifies and distinguishes these two type of datapaths using prior art IP methods, such as IP SRC, IP Destination, Source and Destination Port numbers and other methods.

When objects are pre-fetched and delivered from cache, or stored by a regular caching operation and delivered from cache, the origin servers lose “per user” statistics, summarization and click counts. To replace this information, the RAN Cache may maintain these counts. For example, the RAN Cache may count the number of iPhone users that downloaded a specific object. The RAN Cache may then provide this information to the origin servers. To protect the privacy of the users, the RAN Cache may anonymize (make anonymous) the user information such as IMSI, IMEI etc. This is done using prior-art methods, such as HTTP Post methods to co-operative sites. For example, the RAN Cache may remove the IMEI or IMSI and replace it with a random number to protect the user's privacy.

The present disclosure is not to be limited in scope by the specific embodiments described herein. Indeed, other various embodiments of and modifications to the present disclosure, in addition to those described herein, will be apparent to those of ordinary skill in the art from the foregoing description and accompanying drawings. Thus, such other embodiments and modifications are intended to fall within the scope of the present disclosure. Further, although the present disclosure has been described herein in the context of a particular implementation in a particular environment for a particular purpose, those of ordinary skill in the art will recognize that its usefulness is not limited thereto and that the present disclosure may be beneficially implemented in any number of environments for any number of purposes. 

1. A method of pre-fetching content data in a wireless radio access network (RAN) for improving QOE to users, and for reducing delivery time for certain objects, wherein said RAN services a plurality of users, and wherein said RAN comprises a plurality of components, comprising: a. inserting a device in said RAN, said device comprising a storage element, control logic and two interface modules, such that said device communicates with a first and a second component; b. using said control logic in said device to emulate a virtual user to establish a user plane session for the said pre-fetch operations; and c. using said control logic to act as said virtual user to request content data to be stored in said storage element.
 2. The method of claim 1, wherein said control logic determines what content to pre-fetch and when to pre-fetch said content.
 3. The method of claim 1, wherein said pre-fetch operations are initiated upon receiving requests from an external device.
 4. The method of claim 1, further comprising using the said virtual user data plane session to pre-fetch content.
 5. The method of claim 5, further comprising using said virtual user data session to provide a CDN datapath between a local CDN and an external CDN through an operator core network.
 6. The method of claim 1, wherein said virtual user emulation comprises using local configuration information, and emulating, initiating and terminating client requests.
 7. The method of claim 1, wherein said virtual user emulation comprises initiating a signaling connection in a control plane, and using that connection to establish a virtual user session in said data plane.
 8. A method of pre-fetching content data in a wireless radio access network (RAN) for improving QOE to users, and for reducing delivery time for certain objects, wherein said RAN services a plurality of users, and wherein said RAN comprises a plurality of components, comprising: a. inserting a device in said RAN, said device comprising a storage element, control logic and two interface modules, such that said device communicates with a first and a second component; b. using said control logic in said device to interpret a communication from said first to said second component, so as to determine the user and the content of said communication, wherein said communication comprises a user session context; and wherein said device identifies a user session that is served from a local cache, and e. using said control logic to create requests for content data to be stored in a local cache, based on said identified user session.
 9. The method of claim 8, further comprising a plurality of user sessions, wherein said device tracks the number of bytes delivered from said local cache to each of said user sessions.
 10. The method of claim 9, wherein said device selects a user session to use to create requests based on said tracked number of bytes delivered from said cache.
 11. The method of claim 8, further comprising a plurality of user sessions, wherein said device maintains a counter for each of said user sessions, where said counter is incremented based on the number of bytes delivered from said local cache to each of said user sessions.
 12. The method of claim 11, wherein said counter is decremented based on the number of bytes prefetched by each user session.
 13. The method of claim 12, wherein said device selects a user session to use to create requests based on said counter.
 14. The method of claim 8, further comprising a plurality of user sessions, wherein said device determines the service plan for each of said user sessions.
 15. The method of claim 14, wherein said device selects a user session to use to create requests based on said service plan.
 16. The method of claim 8, further comprising: determining the power source and remaining battery power for a user device associated with an active user session; and selecting a user session based on said power source and remaining battery power. 